﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace aDream
{
    class Assets
    {
        private LinkedList<Asset> assets = new LinkedList<Asset>();

        public Asset asset(int id)
        {
        foreach (Asset asset in assets)
            if (asset.matches(id))
                return asset;
        return null;
        }
    }
}
